package com.itheima.service;


import com.itheima.dto.PageResult;
import com.itheima.dto.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {


    //根据id查询
    Member findById(Integer id);

    //更新会员信息
    void updateById(Member member);


    PageResult findPage(QueryPageBean queryPageBean);

    void add(Member member);

    void deleteById(Integer id);

    List<String> findNames(Integer id);
}
